package com.zhangwei.yueshijia.bean;

import com.google.gson.annotations.SerializedName;


/**
 * Created by zhangwei on 2016/11/21.
 */

public class BaseBean<T> {

    @SerializedName("code")
    private int code;
    @SerializedName("hasmore")
    private boolean hasmore;
    @SerializedName("page_total")
    private int pageTotal;
    @SerializedName("datas")
    private T datas;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isHasmore() {
        return hasmore;
    }

    public void setHasmore(boolean hasmore) {
        this.hasmore = hasmore;
    }

    public int getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(int pageTotal) {
        this.pageTotal = pageTotal;
    }

    public T getDatas() {
        return datas;
    }

    public void setDatas(T datas) {
        this.datas = datas;
    }
}
